﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
   public class SOP_ActivityInfo
    {
       /// <summary>
       /// 自增长ID
       /// </summary>
       public Int32? ID { get; set; }

       /// <summary>
       /// 商家编号
       /// </summary>
       public String BossID { get; set; }

       /// <summary>
       /// 活动名称
       /// </summary>
       public String Title { get; set; }

       /// <summary>
       /// 活动类型，110：现金劵：115：红包；120：优惠券
       /// </summary>
       public Int32? ActivityType { get; set; }

       /// <summary>
       /// 活动名称
       /// </summary>
       public String ActivityTypeName { get; set; }

       /// <summary>
       /// 活动说明
       /// </summary>
       public String Summary { get; set; }

       /// <summary>
       /// 额度
       /// </summary>
       public Decimal? PriceLimit { get; set; }

       /// <summary>
       /// 好友分红
       /// </summary>
       public Decimal? FriendPrice { get; set; }

       /// <summary>
       /// 是否限制数量,1:限制，0：代表不限制
       /// </summary>
       public Int32? IsLimitNumber { get; set; }

       /// <summary>
       /// 限制数量
       /// </summary>
       public Int32? LimitNumber { get; set; }

       /// <summary>
       /// 是否限制额度，1：代表限制，0：代表不限制
       /// </summary>
       public Int32? IsLimitPrice { get; set; }

       /// <summary>
       /// 限制额度
       /// </summary>
       public Decimal? LimitPrice { get; set; }

       /// <summary>
       /// 发送对象,-9:代表全部会员，-10：代表爱美派会员，-11：代表商家会员,-12:代表新注册会员
       /// </summary>
       public Int32? SendType { get; set; }

       /// <summary>
       /// 会员分组编号
       /// </summary>
       public Int32? Team { get; set; }

       /// <summary>
       /// 等级类型，如：白金卡$&&$金卡$&&$银卡'
       /// </summary>
       public String CardType { get; set; }

       /// <summary>
       /// 省份
       /// </summary>
       public String Province { get; set; }

       /// <summary>
       /// 城市
       /// </summary>
       public String City { get; set; }

       /// <summary>
       /// 起始时间
       /// </summary>
       public DateTime? StartTime { get; set; }

       /// <summary>
       /// 结束时间
       /// </summary>
       public DateTime? EndTime { get; set; }

       /// <summary>
       /// 兑奖起始时间
       /// </summary>
       public DateTime? PrizeStartTime { get; set; }

       /// <summary>
       /// 兑奖结束时间
       /// </summary>
       public DateTime? PrizeEndTime { get; set; }

       /// <summary>
       /// 发送对象，如：-10,-11,-12
       /// </summary>
       public String SendObject { get; set; }

       /// <summary>
       /// 备注
       /// </summary>
       public String Remark { get; set; }

       /// <summary>
       /// 状态，5:代表正常，-5：代表删除'
       /// </summary>
       public Int32? Status { get; set; }

       /// <summary>
       /// 添加时间
       /// </summary>
       public DateTime? AddTime { get; set; }

       /// <summary>
       /// 总金额
       /// </summary>
       public Decimal? TotalPrice { get; set; }

       /// <summary>
       /// 安装返现每人每天最大价格
       /// </summary>
       public Decimal? InstallMaxPrice { get; set; }

       /// <summary>
       /// 消费返现
       /// </summary>
       public Decimal? SalePrice { get; set; }

       /// <summary>
       /// 消费返现每人每天最多价格
       /// </summary>
       public Decimal? SaleMaxPrice { get; set; }

       /// <summary>
       /// 对外编号
       /// </summary>
       public String ActivityCode { get; set; }

       /// <summary>
       /// 操作人ID
       /// </summary>
       public String OperaterID { get; set; }

       //操作人编号
       public String OperaterCode { get; set; }

       /// <summary>
       /// 操作人名称
       /// </summary>
       public String OperaterName { get; set; }

       /// <summary>
       /// 用户IP
       /// </summary>
       public String IPAddress { get; set; }

       /// <summary>
       /// 品牌名称
       /// </summary>
       public string BrandNameObj { get; set; }

       /// 起始时间
       /// </summary>
       public string StartTimeObj { get; set; }

       /// <summary>
       /// 结束时间
       public string EndTimeObj { get; set; }

       /// 起始时间
       /// </summary>
       public string PrizeStartTimeObj { get; set; }

       /// <summary>
       /// 结束时间
       public string PrizeEndTimeObj { get; set; }

       /// <summary>
       /// 参与次数
       /// </summary>
       public Int32? TotalNumberObj { get; set; }

       /// <summary>
       /// 参与人数
       /// </summary>
       public Int32? TotalCountObj { get; set; }

        /// <summary>
       /// 是否限好友首次消费分红,默认为0，1：代表是首次
        /// </summary>
       public Int32 IsFirstSalePrice { get; set; }
    }

    [Serializable]
    public class AMP_Invitefriends
    {
        public Int32? ID { get; set; }

        /// <summary>
        /// 商家编号
        /// </summary>
        public String BossID { get; set; }

        /// <summary>
        /// 活动编号
        /// </summary>
        public Int32? ActivityID { get; set; }

        /// <summary>
        /// 推荐人编号
        /// </summary>
        public Int32? CustomerID { get; set; }

        /// <summary>
        /// 被推荐人编号
        /// </summary>
        public Int32? FriendCustomerID { get; set; }

        /// <summary>
        /// 被推荐人手机号
        /// </summary>
        public String FriendMobile { get; set; }

        /// <summary>
        /// 推荐时间
        /// </summary>
        public DateTime? InviteTime { get; set; }

        /// <summary>
        /// 用户当前IP
        /// </summary>
        public String IPAddress { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remart { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 活动对外编号
        /// </summary>
        public String ActivityCodeObj { get; set; }
    }

}
